import Promise from "./promise/promise-2.js";
const p1 = new Promise((resolve, reject) => {
  setTimeout(() => {
    resolve("ok");
  }, 1000);
}).then((res) => {
  console.log(res);
  return p1;
});
